package com.fanghuaiming.fescar.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/****
 * @description: 订单微服务启动类
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午2:38
 *
 */
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "com.fanghuaiming.fescar.order")
@MapperScan(value = {"com.fanghuaiming.fescar.order.dao.mapper"})
@EnableFeignClients
public class FescarOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(FescarOrderApplication.class,args);
    }
}
